import Mock from 'mockjs'
  
Mock.mock(RegExp('/user/list?' + ".*"), 'get', () => {
  let result = {}
  result.code = 200
  result.message = "操作成功"
  result.success = true
  result.result = [
    {
        "createBy": null,
        "updateBy": null,
        "createTime": null,
        "updateTime": null,
        "username": "admin",
        "nickname": "系统管理员",
        "password": "{bcrypt}$2a$10$.c/TiWuSmvwitqxBZsF5guQ6qQn08E1b1Aldff/LEb.dkeR0b4RGq",
        "administrator": false,
        "accountNonExpired": true,
        "accountNonLocked": true,
        "credentialsNonExpired": true,
        "enabled": true,
        "salt": null,
        "organization": null,
        "authorities": null,
        "actorId": "admin"
    },
    {
        "createBy": null,
        "updateBy": null,
        "createTime": null,
        "updateTime": null,
        "username": "admin1",
        "nickname": "测试",
        "password": "{bcrypt}$2a$10$.c/TiWuSmvwitqxBZsF5guQ6qQn08E1b1Aldff/LEb.dkeR0b4RGq",
        "administrator": false,
        "accountNonExpired": true,
        "accountNonLocked": true,
        "credentialsNonExpired": true,
        "enabled": true,
        "salt": null,
        "organization": null,
        "authorities": null,
        "actorId": "admin1"
    }
  ]
  console.log('22333333')
  return result
})
